package com.paygate.entity.req

import com.paygate.string
import javax.validation.constraints.NotBlank
import javax.validation.constraints.NotNull


data class PayReq(
    @field:NotBlank(message = "订单金额不能为空")
    var amount: string? = null,
    @field:NotBlank(message = "订单币种不能为空")
    var currency: string? = null,
    @field:NotNull(message = "信用卡过持卡人姓不能为空")
    var cardHolderFirstName:string? = null,
    @field:NotNull(message = "信用卡过持卡人名不能为空")
    var cardHolderLastName:string? = null,
    @field:NotNull(message = "信用卡过持卡人邮箱不能为空")
    var cardHolderEmail:string? = null
)